package org.dong.samples.dao;

import java.util.List;

import org.dong.samples.model.PagerModel;
import org.dong.samples.model.User;
import org.dong.samples.model.vo.UserVO;

public interface UserHibernateDAO extends IBaseDAO<User> {
	
	public void createUser(User user) throws Exception;
	
	public void editUser(User user) throws Exception;
	
	public void deleteUser(String id) throws Exception;
	
	public List<User> findAllUser() throws Exception;
	
	public User getUserById(String userId) throws Exception;
	
	public PagerModel<UserVO> pageFindUser() throws Exception;
	
	public void insertTime(String time,String userId);
	
	public void insertCount(Integer count, String userId);
}
